package utils.exceptions;

import models.Erro;

public class BDException extends Exception {

	Erro erro;
	
	public BDException(String string, StackTraceElement[] stackTrace) {
		erro = new Erro (string,stackTrace);
	}

	public Erro getErro() {
		return erro;
	}

	public void setErro(Erro erro) {
		this.erro = erro;
	}
	


}
